package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {
    List<Supplier> list(@Param("page") int i, @Param("rows") Integer rows, @Param("supplierName") String supplierName);
    //增加
    void insert(Supplier supplier);
    //修改
    void update(Supplier supplier, @Param("supplierid") Integer supplierid);

    void delete(@Param("ids") List<String> ids);
}
